package com.sf.mapper;


import com.sf.domain.Product;
import com.sf.qo.QueryObject;

import java.util.List;

public interface ProductMapper {
    List<Product> selectByPage(QueryObject queryObject);

    List<Product> selectAll();

    Product selectById(Long id);

    void save(Product product);

    void update(Product product);

    void updateStock(Product product);
}
